#define _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>
void exc(int* pa,int* pb)
{
	int q;
	q = *pa;
	*pa = *pb;
	*pb = q;
}
int main()
{
	int a,b;
	scanf("%d%d", &a,&b);
	printf("a=%d b=%d\n", a, b);
	exc(&a, &b);
	printf("a=%d b=%d\n", a, b);
	return 0;
}